import request from '@/utils/request'

// 查询视频数据列表
export function listSocialVideo(query) {
  return request({
    url: '/social/SocialVideo/list',
    method: 'get',
    params: query
  })
}

// 查询视频数据详细
export function getSocialVideo(id) {
  return request({
    url: '/social/SocialVideo/' + id,
    method: 'get'
  })
}

// 新增视频数据
export function addSocialVideo(data) {
  return request({
    url: '/social/SocialVideo',
    method: 'post',
    data: data
  })
}

// 修改视频数据
export function updateSocialVideo(data) {
  return request({
    url: '/social/SocialVideo',
    method: 'put',
    data: data
  })
}

// 删除视频数据
export function delSocialVideo(id) {
  return request({
    url: '/social/SocialVideo/' + id,
    method: 'delete'
  })
}
